using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace Xid.Controls
{
    public partial class LabelValuePairCtrl : UserControl
    {
       

        public string Label
        {
            get { return this.label.Text; }
            set { this.label.Text = value; }
        }
   

        public string Value
        {
            get { return this.labelValue.Text; }
            set { this.labelValue.Text = value; }
        }


        public LabelValuePairCtrl()
        {
            InitializeComponent();
            //this.labelValue.MouseEnter += new EventHandler(labelValue_MouseEnter);
            //this.labelValue.MouseLeave += new EventHandler(labelValue_MouseLeave);
            //this.labelValue.MouseCaptureChanged += new EventHandler(labelValue_MouseCaptureChanged);
        }

        void labelValue_MouseCaptureChanged(object sender, EventArgs e)
        {
            
        }

        void labelValue_MouseLeave(object sender, EventArgs e)
        {
            this.labelValue.BorderStyle = BorderStyle.None;
            Debug.WriteLine("LabelValuePairControl: MouseLeave");
        }

        void labelValue_MouseEnter(object sender, EventArgs e)
        {
            this.labelValue.BorderStyle = BorderStyle.FixedSingle;
            Debug.WriteLine("LabelValuePairControl: MouseEnter");
        }

       

    }
}
